package br.unirio.webdisco.dao.conn;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

public abstract class BasePostgresDAO<T> extends PostgresConnection
{
	
	
	public abstract void incluir(T entidade) throws Exception;
	public abstract void alterar(T entidade) throws Exception;
	public abstract void excluir(T entidade) throws Exception;
	public abstract T consultarPorId(Integer id) throws Exception;
	public abstract Integer count() throws Exception;
	public abstract List<T> consultar(String parametros) throws Exception;
	public abstract List<T> listar(Integer paginaTamanho, Integer paginaAtual) throws Exception;

	
}

	
	

